package lab02.test02;

class Circle {
    int radius;
    double perimeter;
    double proportion;
    double pi = Math.PI;

    public void setRadius(int radius) {
        this.radius = radius;
    }

    public float getRadius() {
        return this.radius;
    }

    public void setPerimeter(int radius, double pi) {
        this.perimeter = 2 * radius * pi;
    }

    public double getPerimeter() {
        return this.perimeter;
    }

    public void setProportion(int radius, double pi) {
        this.proportion = pi * radius * radius;
    }

    public double getProportion() {
        return proportion;
    }


    public void print() {
        System.out.println("radius=" + radius);
        System.out.println("perimeter=" + perimeter);
        System.out.println("proportion=" + proportion);
    }

}
